class AddIdtoPost < ActiveRecord::Migration
  def change
      add_column :posts, :author_id, :int
  end
end
